package com.jk.bgorder.entity;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@Document(collection = "damai_indent")
public class IndentEntity {
    //mong id
    private String id;
    //订单号--
    private String orderId;
    //支付宝交易号
    private String  orderNum;
    //项目名称 档次entity关联场次、商品-----
    private  ShopEntity shopEntity;   //有问题  应该是entity！！！！

    //数量
    private Integer  shopCount;
    //总价
    private Double  shopTotal;
    //实际总价格
    private Double  realityShopTotal;
    //购买用户id
    private Integer  buyUserId;
    //用户名
    private String  buyUserName;
    //观演人--
    private String  contacts;
    //观演人证件类型--
    private	String papersType;
    //观演人证件号--
    private String papersNumber;
    //电话
    private String  contactsPhone;
    //下单时间
    private String  orderDate;
    //付款时间
    private String payDate;
    //完成时间
    private String finishDate;
    //订单状态 0未支付 1已支付 2关闭 3完成 4 退款中
    private Integer orderCondition;
    //优惠劵id--
    private Integer couponId;//--
    //状态0描述 等待支付
    private String zeroDescribe;
    //状态1描述 等待处理
    private String oneDescribe;
    //状态2描述 关闭订单
    private String twoDescribe;
    //状态3描述  订单完成,在个人中心查看
    private String threeDescribe;
    //状态4描述 退款中
    private String fourDescribe;
    //配送方式
    private  Integer shippingStatus;
    //配送地址--
    private String dispatchAddress;
    //电子票号码--
    private String elecTicketNum;
    //座位信息
    private String site;

    //毫秒值
    private String msecs;
    //时间区间查询字段
    private String orderStartTime;
    private String orderEndTime;
    //7天
    private Integer oneWeek ;
    //一月
    private Integer indjanuary ;
    //3月
    private Integer indmarch;
    //一年
    private Integer indyear;


}
